﻿using System;
using MyOpenGame.Entity;

namespace MyOpenGame
{
    class Program 
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            // The 'using' idiom guarantees proper resource cleanup.
            // We request 30 UpdateFrame events per second, and unlimited
            // RenderFrame events (as fast as the computer can handle).
            using (Game game = new Game(new Player("Paner")))
            {   
                game.Run(30.0);
            }
        }
    }
}